package com.yealove.lunchparty.demo.logback;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * User: yealove
 * Date: 8/17/14
 * Time: 3:39 PM
 * Created with IntelliJ IDEA.
 */
public class HelloLogback {

    private static Logger log = LoggerFactory.getLogger(HelloLogback.class);

    private static void m() {
        log.trace("======trace");
        log.debug("======debug");
        log.info("======info");
        log.warn("======warn");
        log.error("======error");
    }

    public static void main(String[] args) {
        log.trace("======trace");
        log.debug("======debug");
        log.info("======info");
        log.warn("======warn");
        log.error("======error");
        m();
    }
}
